<!--自定义登录页面-->
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout/layout}">
<head>
    <title>登录页面</title>
</head>
<body>
    <main layout:fragment="main">
        <div>
            <form class="form-signin" th:action="@{login}" action="login" method="post">
                <input type="text" name="username"  />
                <input type="text" name="password"  />
                <input type="submit" th:value="提交" />
            </form>
        </div>
    </main>
</body>
</html>